#ifndef SHARK_LIB_H
#define SHARK_LIB_H

#include <cstdint>
#include <deque>


//如果是.c文件，需要加入此宏的控制，如果是.cpp文件则不需要
#ifdef __cplusplus
extern "C" {
#endif

class VideoPacket {
public:
	VideoPacket();
	~VideoPacket();

	uint8_t* data = nullptr;
	size_t len = 0;
	uint64_t timestamp = 0;

	void clear();
};

extern int SharkLib_init();

int SharkLib_exit();


#ifdef __cplusplus
}
#endif

#endif // SERVER_SOCKET_H
